/**
 * 
 */
package com.qdairlines.entity.user;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * @author pangyannan
 * @date 2017年3月3日
 * @company QingDao Airlines
 * @description 用户管理页面中，角色的显示数据格式
 */
public class UserRoleDto  extends Role{
	private Integer userRoleId; //用户角色id
	private String workcode; //用户工号
	private String related; //是否关联

	public UserRoleDto(){
		super();
	}
	
	public String getWorkcode() {
		return workcode;
	}
	public void setWorkcode(String workcode) {
		this.workcode = workcode;
	}
	public String getRelated() {
		return related;
	}
	public void setRelated(String related) {
		this.related = related;
	}
	public Integer getUserRoleId() {
		return userRoleId;
	}

	public void setUserRoleId(Integer userRoleId) {
		this.userRoleId = userRoleId;
	}

	public String toString() {
		return ToStringBuilder.reflectionToString(this,
				ToStringStyle.SHORT_PREFIX_STYLE);
	}
}
